Skip to content

design(site): self-host Inter Variable and restore calm, readable bilingual landing hierarchy - #313

Merged
masarray merged 3 commits into
masterfrom
design/inter-calm-readable-landing-20261121
Nov 21, 2026
Merged

masarray merged 3 commits into
masterfrom
design/inter-calm-readable-landing-20261121

Conversation

@masarray

Copy link
Copy Markdown
Owner

UX regression addressed

PR #312 passed browser/CI gates but produced an overly bulky visual impression. The prior styles.css placed Aptos ahead of an unbundled Inter; heavy hero density, repeated microcopy/release pills, bloated screenshot cards and cascade overrides made the page hard to scan. The issue is perceptual/readability, not protocol runtime.

Changes

  • Bundle official Inter Variable WOFF2 (352,240 bytes) from rsms/inter, Git blob 5a8d3e72ad7ffb62af3b146e1b1f54ab5813a212, exact upstream byte-for-byte; include upstream SIL OFL 1.1 license and mirrored site/assets/fonts / docs/assets/fonts.
  • Use a local @font-face globally with font-display:swap, optical sizing and no CDN dependency. Preload in the six core EN/ID product/demo/download pages; all other public pages use the shared local CSS.
  • Rebalance default typography: H1 capped at 36px; H2 ~23–29px, natural Inter weights, stronger body/muted contrast, controlled line lengths (max 64ch), 14–15px legible body, consistent ~42–56px section rhythm. Replace gradients/oversized card shadows with quiet surfaces.
  • Simplify the hero: retain full video/native controls, stable install/portable download + release identity, but remove three duplicated hero metric cards, redundant feature badges and release-note wall. Replace with a compact contextual video caption.
  • Retain 11 real screenshot views and eight accurate feature families. Remove extra gallery card shells; more breathing room between content, border-only screenshots and consistent smaller captions.
  • Make home, demo, download and the shared Wiki/FAQ typography feel like one calm professional product, in English and Indonesian.
  • Consolidate the old trailing P1/PR312 cosmetic overrides into the authoritative single CSS presentation block; avoid another cascade-only append.
  • Update browser QA to assert the actual loaded Inter face and AA body-text contrast, as well as ≤37px headings and clean hero. Add .NET tests validating six preload links, WOFF2 magic/size, font/license mirror parity and hero simplicity.
  • No change to IEC runtime engine, installer, public release/asset paths or other published protocol claims.

Protected validation

Windows build+xUnit, Chromium/Firefox 7-width matrix, repository hygiene, dependency review and CodeQL must pass before merge. After approval, merge with expected SHA and verify GitHub Pages deployment.

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-21T15:55:07.090078Z
We couldn’t complete this review. Comment @codex review to try again.
e88ab75 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

{
var root = RepositoryRoot();
var path = page.Replace('/', Path.DirectorySeparatorChar);
var html = File.ReadAllText(Path.Combine(root.FullName, "site", path));
var root = RepositoryRoot();
var path = page.Replace('/', Path.DirectorySeparatorChar);
var html = File.ReadAllText(Path.Combine(root.FullName, "site", path));
Assert.Equal(html, File.ReadAllText(Path.Combine(root.FullName, "docs", path)));
public void InterIsBundledLocallyWithItsLicenseAndNoRemoteFontDependency()
{
var root = RepositoryRoot();
var css = File.ReadAllText(Path.Combine(root.FullName, "site/styles.css"));
{
var root = RepositoryRoot();
var css = File.ReadAllText(Path.Combine(root.FullName, "site/styles.css"));
Assert.Equal(css, File.ReadAllText(Path.Combine(root.FullName, "docs/styles.css")));
Assert.DoesNotContain("fonts.gstatic.com", css);
Assert.DoesNotContain("font-family: Aptos, Inter", css);

var siteFont = File.ReadAllBytes(Path.Combine(root.FullName, "site/assets/fonts/InterVariable.woff2"));
Assert.DoesNotContain("font-family: Aptos, Inter", css);

var siteFont = File.ReadAllBytes(Path.Combine(root.FullName, "site/assets/fonts/InterVariable.woff2"));
var mirroredFont = File.ReadAllBytes(Path.Combine(root.FullName, "docs/assets/fonts/InterVariable.woff2"));
Assert.InRange(siteFont.Length, 100_000, 600_000);
Assert.Equal(new byte[] { (byte)'w', (byte)'O', (byte)'F', (byte)'2' }, siteFont[..4]);
Assert.Equal(siteFont, mirroredFont);
var license = File.ReadAllText(Path.Combine(root.FullName, "site/assets/fonts/OFL.txt"));
Assert.Equal(siteFont, mirroredFont);
var license = File.ReadAllText(Path.Combine(root.FullName, "site/assets/fonts/OFL.txt"));
Assert.Contains("SIL OPEN FONT LICENSE", license);
Assert.Equal(license, File.ReadAllText(Path.Combine(root.FullName, "docs/assets/fonts/OFL.txt")));
public void HeroPrioritizesSoftwareAndReleasesWithoutDuplicatedBadgeTiles(string path)
{
var root = RepositoryRoot();
var html = File.ReadAllText(Path.Combine(root.FullName, path.Replace('/', Path.DirectorySeparatorChar)));
@masarray
masarray merged commit 4f2bda4 into master Nov 21, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants